#ifndef CONFIGSET_H
#define CONFIGSET_H
#include <QString>
#include <QList>
#include <QSettings>

typedef struct
{
    QString host;
    QString hostUrl;
    QString urlIdOrClassStr;
    QString urlRegexpStr;
    QString titleIdOrClassStr;
    QString contentIdOrClassStr;
}ConfigSetItem;

class ConfigSet
{
public:
    ConfigSet();
    ~ConfigSet();
    void readSet();
    void writeSet();

    int m_itemCount;

    QList<ConfigSetItem> m_ItemList;
private:
    QString m_filePath;

};

#endif // CONFIGSET_H
